package com.xbongbong.pro.dingtalk.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 扫码登录 code 换用户信息接口，
 * 只需要 code 信息，不用继承BaseDTO
 * @author kaka
 * @date 2019/5/30 16:27
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class SnsUserInfoDTO implements Serializable {
    private static final long serialVersionUID = -8435521427703529524L;

    /**
     * 临时授权码
     */
    @NotBlank(message = "{dto.msg.snsUserInfo.code.NotBlank}")
    private String code;

    /**
     * 公司id
     */
    private String corpid;
}
